projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
617e93a
)
modules/freifunk: Fix problem with public_status html
author
Manuel Munz
<
[email protected]
>
Thu, 3 Feb 2011 15:17:50 +0000
(15:17 +0000)
committer
Manuel Munz
<
[email protected]
>
Thu, 3 Feb 2011 15:17:50 +0000
(15:17 +0000)
modules/freifunk/luasrc/view/freifunk/public_status.htm
patch
|
blob
|
history
diff --git
a/modules/freifunk/luasrc/view/freifunk/public_status.htm
b/modules/freifunk/luasrc/view/freifunk/public_status.htm
index e8a16257d1871141aca5058910814f04d3e0aff4..1698e9c23b1a9cb9fa0fd117a52fc3d7525f4d2a 100644
(file)
--- a/
modules/freifunk/luasrc/view/freifunk/public_status.htm
+++ b/
modules/freifunk/luasrc/view/freifunk/public_status.htm
@@
-278,11
+278,11
@@
local defroutev6 = sys.net.defaultroute6()
<h2><%:Default routes%></h2>
<div class="cbi-section">
<div class="cbi-section-node">
- <table class="cbi-section-table">
<% if not defroutev4 and not defroutev6 then %>
<%:No default routes known.%>
<%else%>
+ <table class="cbi-section-table">
<tr class="cbi-section-table-titles">
<th class="cbi-section-table-cell"><%:Network%></th>
<th class="cbi-section-table-cell"><%:Interface%></th>
@@
-312,8
+312,8
@@
local defroutev6 = sys.net.defaultroute6()
<% end %>
</table>
+<% end %>
</div>
</div>
</div>
-<% end %>
<%+footer%>